declare namespace GROUP {
  type GetGroupsParams = {
    groupName?: string
    page: number
    size: number
    salesWxUid?: string
    wxDid?: string
  }

  type GetGroupsResult = API.ApiResult<any> & {
    current: number
    orders: {
      asc: boolean
      column: string
    }[]
    pages: number
    records: {
      audioPower: number
      createdTime: string
      departmentName: string
      groupName: string
      salesName: string
      wxDid: string
      wxGid: string
    }[]
    searchCount: boolean
    size: number
    total: number
  }

  type SetGroupPowerParams = {
    audioPower: number
    wxGid: string
  }
}
